package com.bwie.system.remote;

import com.bwie.common.domain.User;
import com.bwie.common.domain.request.UserReq;
import com.bwie.common.result.Result;
import com.bwie.system.remote.factory.SystemRemoteImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @className: SystemRemote
 * @Description: TODO
 * @version: v1.８.0
 * @author:
 * @date:
 */
@FeignClient(value =  "bwie-system",fallbackFactory = SystemRemoteImpl.class)
public interface SystemRemote {
    @PostMapping("/updBalanceById")
    public Result updBalanceById(@RequestBody UserReq userReq);
}

